Class IkePolicyImpl

java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.IkePolicyImpl
All Implemented Interfaces:
IPCObject, IkePolicy

public class IkePolicyImpl extends IPCObjectImpl implements IkePolicy
Information provided by the PKI file:

    \class IkePolicy
    
    \brief IkePolicy handles and manipulates IKE policies.
    
    \example network().getDevice("Router0").getProcess("IpsecProcess").getIkePolicyAt(0)
    
Author:
Auto-generated
  • Constructor Details

  • Method Details

    • setPriorityNum

      public void setPriorityNum(int number)
      Information provided by the PKI file:
      
          \brief Sets the priority value.
          
          \param number, the priority value.
          
              
      Specified by:
      setPriorityNum in interface IkePolicy
      Parameters:
      number - Takes in a parameter of number
    • getPriorityNum

      public int getPriorityNum()
      Information provided by the PKI file:
      
          \brief Returns the priority value.
          
          \return int, the priority value.
          
              
      Specified by:
      getPriorityNum in interface IkePolicy
      Returns:
      int Returns a int
    • getEncryKeyBits

      public int getEncryKeyBits()
      Information provided by the PKI file:
      
          \brief Returns the number of bits in the encryption key.
          
          \return int, the number of bits in the encryption key.
          
              
      Specified by:
      getEncryKeyBits in interface IkePolicy
      Returns:
      int Returns a int
    • setLifetime

      public void setLifetime(int lifetime)
      Information provided by the PKI file:
      
          \brief Sets the lifetime for the IKE policy.
          
          \param lifetime, the lifetime value.
          
              
      Specified by:
      setLifetime in interface IkePolicy
      Parameters:
      lifetime - Takes in a parameter of lifetime
    • getLifetime

      public int getLifetime()
      Information provided by the PKI file:
      
          \brief Returns the lifetime value for the IKE policy.
          
          \return int, the lifetime value for the IKE policy.
          
              
      Specified by:
      getLifetime in interface IkePolicy
      Returns:
      int Returns a int